﻿
<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>后台管理</title>
	<meta name="description" content="这是一个 index 页面">
	<meta name="keywords" content="index">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="icon" type="image/png" href="/public/menggu/i/favicon.png">
	<link rel="apple-touch-icon-precomposed" href="/public/menggu/i/app-icon72x72@2x.png">
	<meta name="apple-mobile-web-app-title" content="Amaze UI" />
	<link rel="stylesheet" href="/public/menggu/css/amazeui.min.css" />
	<link rel="stylesheet" href="/public/menggu/css/admin.css">
	<link rel="stylesheet" href="/public/menggu/css/app.css">

</head>
<style>
	@font-face
	{
		font-family: myFirstFont;
		src: url('/public/font/MHT.ttf');
		/*url('aa.eot'); !* IE9+,可以是具体的实际链接 *!*/
	}
	body
	{
		font-family: myFirstFont;
	}
</style>
<body data-type="generalComponents">


<header class="am-topbar am-topbar-inverse admin-header">
	<div class="am-topbar-brand">
		<a href="javascript:;" class="tpl-logo">
			<img src="/public/menggu/img/logo.png" alt="">
		</a>
	</div>
	<div class="am-icon-list tpl-header-nav-hover-ico am-fl am-margin-right">

	</div>

	<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

	<div class="am-collapse am-topbar-collapse" id="topbar-collapse">

		<ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list tpl-header-list">


			<li class="am-hide-sm-only"><a href="javascript:;" id="admin-fullscreen" class="tpl-header-list-link"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a></li>

			<li class="am-dropdown" data-am-dropdown data-am-dropdown-toggle>
				<a class="am-dropdown-toggle tpl-header-list-link" href="javascript:;">
					<span class="tpl-header-list-user-nick">已登录</span><span class="tpl-header-list-user-ico"></span>
				</a>
				<ul class="am-dropdown-content">
					<li><a href="#"><span class="am-icon-bell-o"></span> 资料</a></li>
					<li><a href="#"><span class="am-icon-cog"></span> 设置</a></li>
					<li><a href="/index.php/index/login/logout"><span class="am-icon-power-off"></span> 退出</a></li>
				</ul>
			</li>
			<li><a href="/index.php/index/login/logout" class="tpl-header-list-link"><span class="am-icon-sign-out tpl-header-list-ico-out-size"></span></a></li>
		</ul>
	</div>
</header>







<div class="tpl-page-container tpl-page-header-fixed">


	<div class="tpl-left-nav tpl-left-nav-hover">
		<div class="tpl-left-nav-title">
			系统管理项
		</div>
		<div class="tpl-left-nav-list">
			<ul class="tpl-left-nav-menu">
				<li class="tpl-left-nav-item">
					<a href="" class="nav-link ">
						<i class="am-icon-home"></i>
						<span>首页</span>
					</a>
				</li>
				<!--<li class="tpl-left-nav-item">-->
					<!--<a href="chart.html" class="nav-link tpl-left-nav-link-list">-->
						<!--<i class="am-icon-bar-chart"></i>-->
						<!--<span>数据表</span>-->
						<!--<i class="tpl-left-nav-content tpl-badge-danger">-->
							<!--12-->
						<!--</i>-->
					<!--</a>-->
				<!--</li>-->

				<li class="tpl-left-nav-item">
					<!-- 打开状态 a 标签添加 active 即可   -->
					<a href="/index.php/index/manage/index?page=1" class="nav-link tpl-left-nav-link-list ">
						<i class="am-icon-table"></i>
						<span>列表</span>
						<!-- 列表打开状态的i标签添加 tpl-left-nav-more-ico-rotate 图表即90°旋转  -->
						<!--<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right tpl-left-nav-more-ico-rotate"></i>-->
					</a>
				</li>

				<!--<li class="tpl-left-nav-item">-->
					<!--<a href="javascript:;" class="nav-link tpl-left-nav-link-list">-->
						<!--<i class="am-icon-wpforms"></i>-->
						<!--<span>表单</span>-->
						<!--<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>-->
					<!--</a>-->
					<!--<ul class="tpl-left-nav-sub-menu">-->
						<!--<li>-->
							<!--<a href="form-amazeui.html">-->
								<!--<i class="am-icon-angle-right"></i>-->
								<!--<span>Amaze UI 表单</span>-->
								<!--<i class="am-icon-star tpl-left-nav-content-ico am-fr am-margin-right"></i>-->
							<!--</a>-->

							<!--<a href="form-line.html">-->
								<!--<i class="am-icon-angle-right"></i>-->
								<!--<span>线条表单</span>-->
							<!--</a>-->
						<!--</li>-->
					<!--</ul>-->
				<!--</li>-->

				<!--<li class="tpl-left-nav-item">-->
					<!--<a href="login.html" class="nav-link tpl-left-nav-link-list">-->
						<!--<i class="am-icon-key"></i>-->
						<!--<span>登录</span>-->

					<!--</a>-->
				<!--</li>-->
			</ul>
		</div>
	</div>





	<div class="tpl-content-wrapper">

		<div class="tpl-portlet-components">
			<div class="portlet-title">
				<div class="caption font-green bold">
					<span class="am-icon-code"></span> 信息列表
				</div>
				<div class="tpl-portlet-input tpl-fz-ml">
					<div class="portlet-input input-small input-inline">
						<div class="input-icon right">
							<!--<i class="am-icon-search"></i>-->
							<input type="hidden" class="form-control form-control-solid" placeholder="搜索..."> </div>
					</div>
				</div>


			</div>
			<div class="tpl-block">
				<div class="am-g">
					<div class="am-u-sm-12 am-u-md-6">
						<div class="am-btn-toolbar">
							<div class="am-btn-group am-btn-group-xs">
								<button type="button" class="am-btn am-btn-default am-btn-success" onclick="location.href = '/index.php/index/manage/form';"><span class="am-icon-plus"></span> 新增</button>
								<!--<button type="button" class="am-btn am-btn-default am-btn-secondary"><span class="am-icon-save"></span> 保存</button>-->
								<!--<button type="button" class="am-btn am-btn-default am-btn-warning"><span class="am-icon-archive"></span> 审核</button>-->
								<!--<button type="button" class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>-->
							</div>
						</div>
					</div>
					<!--<div class="am-u-sm-12 am-u-md-3">-->
						<!--<div class="am-form-group">-->
							<!--<select data-am-selected="{btnSize: 'sm'}">-->
								<!--<option value="option1">所有类别</option>-->
								<!--<option value="option2">IT业界</option>-->
								<!--<option value="option3">数码产品</option>-->
								<!--<option value="option3">笔记本电脑</option>-->
								<!--<option value="option3">平板电脑</option>-->
								<!--<option value="option3">只能手机</option>-->
								<!--<option value="option3">超极本</option>-->
							<!--</select>-->
						<!--</div>-->
					<!--</div>-->
					<div class="am-u-sm-12 am-u-md-3">
						<div class="am-input-group am-input-group-sm">
							<input type="text" value="" name="text" id="text" class="am-form-field">
							<span class="am-input-group-btn">
            <button class="am-btn  am-btn-default am-btn-success tpl-am-btn-success am-icon-search" onclick="select();" type="button"></button>
          </span>
						</div>
					</div>

				</div>
				<div class="am-g">
					<div class="am-u-sm-12">
						<form class="am-form">
							<table class="am-table am-table-striped am-table-hover table-main">
								<thead>
								<tr>
									<!--<th class="table-check"><input type="checkbox" class="tpl-table-fz-check"></th>-->
									<th>ID</th>
									<th>汉语词性</th>
									<th>汉语词语</th>
									<th>全拼音</th>
									<th>例句译文</th>
									<th>汉语例句</th>
									<th>蒙古文拉丁转换</th>
									<th>蒙古语词语</th>
									<th>汉语解释</th>
									<th>置信度</th>
									<th>备注</th>
									<th class="table-set">操作</th>
								</tr>
								</thead>
								<tbody>
								{volist name="list" id="list"}
									<tr>
										<!--<td><input type="checkbox"></td>-->
										<td>{$list.id}</td>
										<td>{$list.cixing}</td>
										<td>{$list.ciyu}</td>
										<td>{$list.pinyin}</td>
										<td>{$list.yiwen}</td>
										<td>{$list.liju}</td>
										<td>{$list.ladin}</td>
										<td>{$list.menggu}</td>
										<td>{$list.hanyu}</td>
										<td>{$list.zxd}</td>
										<td>{$list.beizhu}</td>
										<td>
											<div class="am-btn-toolbar">
												<div class="am-btn-group am-btn-group-xs">
													<a class="am-btn am-btn-default am-btn-xs am-text-secondary" onclick="location.href = '/index.php/index/manage/form?id={$list.id}';"><span class="am-icon-pencil-square-o"></span> 编辑</a>
													<!--<button class="am-btn am-btn-default am-btn-xs am-hide-sm-only"><span class="am-icon-copy"></span> 复制</button>-->
													<a class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only" onclick="location.href = '/index.php/index/manage/delete?id={$list.id}&page={$now_page}';"><span class="am-icon-trash-o"></span> 删除</a>
												</div>
											</div>
										</td>
									</tr>
								{/volist}
								</tbody>
							</table>
							<div class="am-cf">

								<div class="am-fr">
									<ul class="am-pagination tpl-pagination">
										<li class=""><a href="/index.php/index/manage/index?page=1">«</a></li>
										{volist name="page_list" id="page_list"}
											<li class="{$page_list.a}"><a href="/index.php/index/manage/index?page={$page_list.p}">{$page_list.p}</a></li>
										{/volist}

										<li><a href="/index.php/index/manage/index?page=-1">»</a></li>
									</ul>
								</div>
							</div>
							<hr>

						</form>
					</div>

				</div>
			</div>
			<div class="tpl-alert"></div>
		</div>

	</div>

</div>

<script>
	function select(){

	    var text = document.getElementById('text').value;
        location.href = '/index.php/index/manage/index?text='+text;
	}

</script>
<script src="/public/menggu/js/jquery.min.js"></script>
<script src="/public/menggu/js/amazeui.min.js"></script>
<script src="/public/menggu/js/app.js"></script>
</body>

</html>